package com.gongzuozhan.pojo;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 患者就诊卡(HuanZheJiuZhenKa)实体类
 *
 * @author Gold
 * @since 2021-03-17 14:58:25
 * @version 1.0
 */
@ApiModel(value = "HuanZheJiuZhenKa",description = "患者就诊卡")
public class HuanZheJiuZhenKa implements Serializable {
    private static final long serialVersionUID = 314326487292414574L;
    /**
    * id
    */
	@ApiModelProperty(name = "id",notes = "id",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 患者姓名
    */
	@ApiModelProperty(name = "xingMing",notes = "患者姓名",dataType = "String",required = true)
    private String xingMing;
    /**
    * 患者性别
    */
	@ApiModelProperty(name = "xingBie",notes = "患者性别",dataType = "String",required = true)
    private String xingBie;
    /**
    * 患者年龄
    */
	@ApiModelProperty(name = "nianLing",notes = "患者年龄",dataType = "Integer",required = true)
    private Integer nianLing;
    /**
    * 患者身份证号
    */
	@ApiModelProperty(name = "shenFenZheng",notes = "患者身份证号",dataType = "String",required = true)
    private String shenFenZheng;
    /**
    * 患者出生日期
    */
	@ApiModelProperty(name = "chuShengRiQi",notes = "患者出生日期",dataType = "Date",required = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    // 下面是服务器响应返回的内容，如果没有格式化转换，那么返回的内容是长毫秒数，接收mysql数据库中的数据也需要设置东八区+8时
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date chuShengRiQi;
    /**
    * 患者地址
    */
	@ApiModelProperty(name = "diZhi",notes = "患者地址",dataType = "String",required = true)
    private String diZhi;
    /**
    * 备注
    */
	@ApiModelProperty(name = "beiZhu",notes = "备注",dataType = "String",required = true)
    private String beiZhu;
    /**
    * 有无医保卡（0无，1有）
    */
	@ApiModelProperty(name = "yiBaoKaZhuangTai",notes = "有无医保卡（0无，1有）",dataType = "Integer",required = true)
    private Integer yiBaoKaZhuangTai;
    
	@ApiModelProperty(name = "huanZheKaHao",notes = "${column.comment}",dataType = "String",required = true)
    private String huanZheKaHao;
    /**
    * 手机号
    */
	@ApiModelProperty(name = "shouJiHao",notes = "手机号",dataType = "String",required = true)
    private String shouJiHao;

        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getXingMing() {
        return xingMing;
    }

    public void setXingMing(String xingMing) {
        this.xingMing = xingMing;
    }
        
    public String getXingBie() {
        return xingBie;
    }

    public void setXingBie(String xingBie) {
        this.xingBie = xingBie;
    }
        
    public Integer getNianLing() {
        return nianLing;
    }

    public void setNianLing(Integer nianLing) {
        this.nianLing = nianLing;
    }
        
    public String getShenFenZheng() {
        return shenFenZheng;
    }

    public void setShenFenZheng(String shenFenZheng) {
        this.shenFenZheng = shenFenZheng;
    }
        
    public Date getChuShengRiQi() {
        return chuShengRiQi;
    }

    public void setChuShengRiQi(Date chuShengRiQi) {
        this.chuShengRiQi = chuShengRiQi;
    }
        
    public String getDiZhi() {
        return diZhi;
    }

    public void setDiZhi(String diZhi) {
        this.diZhi = diZhi;
    }
        
    public String getBeiZhu() {
        return beiZhu;
    }

    public void setBeiZhu(String beiZhu) {
        this.beiZhu = beiZhu;
    }
        
    public Integer getYiBaoKaZhuangTai() {
        return yiBaoKaZhuangTai;
    }

    public void setYiBaoKaZhuangTai(Integer yiBaoKaZhuangTai) {
        this.yiBaoKaZhuangTai = yiBaoKaZhuangTai;
    }
        
    public String getHuanZheKaHao() {
        return huanZheKaHao;
    }

    public void setHuanZheKaHao(String huanZheKaHao) {
        this.huanZheKaHao = huanZheKaHao;
    }
        
    public String getShouJiHao() {
        return shouJiHao;
    }

    public void setShouJiHao(String shouJiHao) {
        this.shouJiHao = shouJiHao;
    }

}